package org.rguess.patterns.responsibility.builder;

class MotorCycleBuilder implements VehicleBuilder
// 具体建造者 1
{
	Shop shop = new Shop();

	public void Buider() {
		shop.object("type", "摩托车");
	}

	public void BuildFrame() {
		shop.object("frame", "摩托车 框架");
	}

	public void BuildEngine() {
		shop.object("engine", "500 毫升");
	}

	public void BuildWheels() {
		shop.object("wheels", "2 个车轮");
	}

	public void BuildDoors() {
		shop.object("doors", "没有车门");
	}
}
